package net.zjitc.service;

import net.zjitc.common.ResponseResult;
import net.zjitc.entity.Order;
import net.zjitc.exception.OrderException;

/**
 * @Author 毛钰深
 * @Create 2021/12/27 11:07
 */
public interface OrderService {
    ResponseResult selectAll(String query, int pagenum, int pagesize, Order order);

    ResponseResult updateOrder(Order order) throws OrderException;

    Order selectById(Integer id) throws OrderException;

    ResponseResult updateOrderAddress(Integer id, String consignee_addr) throws OrderException;
}
